<#--
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->

<#if !jQueryVersion?? >
  <#assign jQueryVersion="1.8.0">
</#if>
<#assign easyUIVersion="1.3.1">
<#assign struts2easyUIVersion="1.0.0">

<#if parameters.scriptPath?if_exists != "">
  <#assign javaScriptBasePath="${parameters.scriptPath?string}">
<#else>
  <#assign javaScriptBasePath="${base}/struts/">
</#if>

<#if parameters.customBasepath?if_exists != "">
  <#assign basePath="${parameters.customBasepath?string}">
<#else>
  <#assign basePath="${javaScriptBasePath}themes">
</#if>
<#if parameters.compressed?default(true)>
  <#assign jqueryFile="jquery-1.8.0.min.js">
  <#assign easyUI="jquery.easyui-1.3.1.min.js">
<#else>
  <#assign jqueryFile="jquery-1.8.0.js">
  <#assign easyUI="jquery.easyui-1.3.1.js">
</#if>

<#if parameters.easyui?default(true)>
    <#if parameters.jquerytheme?if_exists != "">
        <link id="jquery_theme_link" rel="stylesheet" href="${basePath}/${parameters.easyuiTheme?string}/easyui.css" type="text/css"/>
    <#else>
        <link id="jquery_theme_link" rel="stylesheet" href="${basePath}/default/easyui.css" type="text/css"/>
    </#if>
</#if>
